System having an apparatus that uses a resource on an external device

ABSTRACT

A system comprises a media player to receive a removable medium. The media player to include logic and to couple to a display device and to a device external to said media player. The external device includes storage. The media player is to cause information to be downloaded onto the external device&#39;s storage. The information to be used by said media player when playing content from said removable medium. After receiving the removable medium, the logic is to determine whether an update is available on the network for the information. The logic is to provide access to the information once stored in the external device&#39;s storage.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of, and claims priority to, pending U.S. patent application Ser. No. 11/144,977, filed Jun. 3, 2005, and titled “A System Having An Apparatus That Uses A Resource On An External Device,” which is also hereby incorporated by reference herein in its entirety.

BACKGROUND

There is a general desire to increase the functionality and performance of an electronic device, such as a media player. All else being equal, unfortunately, the cost of a device usually increases as the device's functionality is increased.

BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of exemplary embodiments of the invention, reference will now be made to the accompanying drawings in which:

FIG. 1 shows a system in accordance with embodiments of the invention;

FIG. 2 shows a block diagram of a media player in accordance with embodiments of the invention; and

FIG. 3 shows a method embodiment.

NOTATION AND NOMENCLATURE

Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, computer companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . .” Also, the term “couple” or “couples” is intended to mean either an indirect or direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.

DETAILED DESCRIPTION

Referring to FIG. 1, a system 50 is shown comprising an apparatus 52 coupled to a device 56 that is external to the apparatus. In the exemplary embodiments discussed herein, the apparatus 52 comprises a media player, but in general the apparatus can be other than a media player, such as a set top box. As a media player, the apparatus is adapted to receive a removable medium and play content stored on and/or related to the content of the removable medium. In some embodiments, a removable medium comprises an optical disc. In general, the apparatus 52 is any apparatus that, in at least some modes of operation, can function as a standalone device without assistance from an external device 56. The content of the disc may comprise video, audio, graphic, or other types of information. The disc may contain, for example, a movie that the media player 52 plays through a display device 54 coupled to the media player 52. The display device 54 may comprise a television or other suitable monitor and may comprise video and audio playback capability. The media player 52 may be operated by a user via controls provided as part of the media player or via a remote control 53. Such controls permit a user to perform various actions such as play, stop, pause, rewind, fast forward, etc.

In accordance with embodiments of the invention, the media player 52 uses one or more resources provided by the external device 56. The external device may comprise a computer or a stand-alone storage device. In either case, the external device comprises remote storage 58, software 59, a network interface 60 through which the external device 56 connects to a network, and a central processing unit (CPU) 61. Storage 58 is referred to as “remote” storage to signify that storage 58 is located external to the media player 52. The network may comprise the Internet or other network from which information can be downloaded for storage in the external device's storage 58 or in the media player 52, to the extent the media player has any built-in storage capacity. Because the media player 52 uses the external device's resources (i.e., the remote storage 58 and network interface 60), such resources need not be duplicated in the media player thereby enabling the media player 52 is to built at lower cost yet still provide enhanced functionality (described below) that the storage 58 and network interface 60 enables. Moreover, the media player 52 can receive a disc encoded so as to take advantage of such enhanced functionality and the media player can provide such enhanced functionality, albeit by taking advantage of resources available in the external device. In some scenarios, a user may already have a personal computer which functions as external device 56. By obtaining a media player 52 implemented according to the teachings of the present invention, and connecting the media player 52 to the user's existing computer, the resulting system 50 is bestowed with enhanced functionality without the user having to purchase a media player that itself contains the storage and network interface resources sufficient to provide such enhanced functionality.

FIG. 2 shows an exemplary block diagram of the media player 52. In the embodiment shown in FIG. 2, the player comprises a playback control engine 70, a presentation engine 72, a virtual file system (VFS) 78, a local storage 80, and an interface 82 to external device 56. The local storage 80 comprises non-volatile storage. In one embodiment, the local storage 80 comprises flash memory.

In some embodiments, the interface 82 may comprise a universal serial bus (USB) connection. The VFS 78 communicates with the remote storage 58 in the external device by way of a USB mass storage class protocol. For those USB standards that do not permit a peripheral device to invoke an operation on a host, the external device 56 periodically polls a USB endpoint to determine if the VFS 78 has a request targeting the external device. In the example of a request to retrieve data from remote storage, when the VFS 78 sends the request, the external device (e.g., the remote storage 58) receives, decodes, and processes the request and returns the specified data to the VFS and a USB endpoint. The VFS 78 receives the data from remote storage 58 and then decodes and processes the data. In other embodiments, the interface 82 may comprise an Institute of Electrical and Electronics Engineers (IEEE) 1394 bus, or other interface.

The player 52 accepts a disc 74. The disc 74 may contain one or more applications 76 (e.g., Java™ applets) that are executed on the player and interact with the playback control engine 70. In response to a user, for example, pressing a play button on the remote control 53, the playback control engine 70 receives a “play list” from the VFS 78. The play list contains references (e.g., pointers) to one or more clip files stored on disc 74 that comprise the content (e.g., movie) the user desires to play. The playback control engine 70 requests each clip file in succession from the virtual file system and provides each such clip to the presentation engine 72. The presentation engine 72 decodes each clip file and generates corresponding video and/or audio output signals to be provided to the display 54.

The VFS 78 comprises an application programming interface (API) that facilitates access by a device (e.g., the playback control engine 70) to the disc 74, local storage 80 and remote storage 58. The disc 74 may have a file system stored on the disc and thus the term “virtual file system” is used simply to differentiate the player's file system from any file system that the disc may contain. The VFS 78 provides a mapping, for example, between requests for files and the physical location of such files, which may be on the disc 74, the media player's local storage 80 or the external device's remote storage 58. The mapping provided by the VFS 78 permits the playback control engine 70 to submit a request for a file yet be “oblivious” as to the location of the requested file. Instead, the VFS bears the onus of keeping track of the location of the various files.

While some discs 74 may not contain an application 76, other discs do contain such an application. The application 76 may perform any one or more of a variety of functions. For example, an application may enable a user to selectively cause a file to be downloaded from the network to the external device 56 via the external device's network interface 60. In at least one embodiment, upon loading a disc into the player 52, the application 76 contained on the disc begins to execute on the player. The application 76 may automatically cause (i.e., not requiring a prompt from a user) software 59 on the external device to access a pre-defined website to determine if files associated with the disc currently loaded into the player are available to download. Such a pre-defined website may be encoded into the software 59 in any suitable form such as a uniform resource locator (URL) or Internet Protocol (IP) address. The application 76 will cause the VFS 78 to pass on the identity of the pre-defined website (e.g., URL, IP address) to the external device which uses the identity to access the target website. The software 59 is executed by the external device's CPU 61. If a file has already been downloaded, there may be a more recent version of that file on the pre-defined website. At any rate, the user of the media player 52 may be provided a menu of choices on display 54 from which to choose and may choose one or more files to download. Alternatively, the application 76 may have been programmed to make a choice on behalf of the user or the creator of the disc (or other party), and to automatically download one or more files without offering choices to the user.

Software 59 described above may comprise an application that receives commands from the media player 52 and interacts with other software or hardware in the external device to effectuate the commands. If a command for example requires access to a website via network interface 60, software 59 interacts with other software that is present to provide network connectivity to the external device. Such other software may comprise, for example, a network interface controller driver.

The file(s) to download may be any desired type of file. For example, the files may contain subtitles associated with the movie that was released on disc before such subtitles were available. Another example of downloadable files associated with media content on disc 74 include movie trailers. Upon pressing a button on remote control 53 with a particular disc 74 loaded into the player, the media player 52 may cause such a file to be downloaded via the external device 56 thereby using the network resource provided by the external device.

Each file that is downloaded to system 50 is associated with a particular disc. Such downloaded files as well as the play lists, index table, movie object, and clip files associated with a particular disc are associated with each other by way of the VFS. This association is referred to as “binding.” That is, these various files are bound together. The binding permits the VFS to keep track of which files are associated with each other. In one embodiment, the downloaded, bound files associated with a particular disc 74 are stored in local storage 80 when a user loads that disc into the player so that the files will be available to the media player. In some embodiments, the media player 52 does not have any local storage 80 and thus the remote storage 58 is used in place of the media player's local storage for the downloaded, bound files. In still other embodiments, the media player has only a limited amount of local storage 80 and logic is provided to manage the use of the local storage for the downloaded, bound files associated with the currently loaded disc 74.

If the media player has local storage 80 and has sufficient capacity in the local storage 80 to store a new file, a file to be downloaded via external device 56 is downloaded by the media player 52, through network interface 60 with assistance from the external device and transferred to local storage 80. If, however, the media player does not have any local storage 80 or an insufficient amount of local storage for storing the new file, or possibly for other reasons, the new file is stored instead in the remote storage 58 of the external device 56. The VFS 78 updates its mapping (binding) to reflect that the downloaded file is at a particular physical location in either local or remote storage 80, 58. Thus, when the playback control engine 70 or application 76 subsequently requests that particular previously downloaded file to play, the VFS is able to access the file regardless of its location.

In at least one embodiment, the VFS 78 is by default disabled from providing access to one or more or all resources (e.g., remote storage 58, network interface 6) on the external device 56. For example, remote storage 58 is disabled by default and network interface 60 is enabled by default. The VFS 78 responds to various API invocations with regard to external device 56. An application 76 may access a “query” API invocation to VFS 78. In response to the query invocation, the VFS reports whether an external device is, in fact, connected to the media player 52. Using the query API or other API invocation, an application 76 may also request the amount of available space on remote storage 58. The application 76 can also choose to enable the VFS 78 to access the external device's resources. The application 76 invokes an “enable remote storage” function of the VFS API, for example, to cause the VFS to enable access to the remote storage 58. Alternatively, the application 76 can choose for the VFS to continue to be disabled from accessing the remote storage. In some embodiments, an enable API function generally applies to all resources in the external device, at least all of those resources that the media player 52 is capable of using. In some embodiments, multiple API functions are provided with each such function enabling access to a specific resource in the external device. For example, access to the remote storage 58 can be enabled without regard to other external device resources. In other embodiments, an enable API may be provided that enables or disables multiple or all resources of the external device.

In some embodiments, the default configuration of the VFS 78 with regard to enablement or disablement of resources on external device 56 depends on the type of disc that is inserted into the player. For example, the default configuration can be different for discs that have applications 76 compared to discs without applications. If the disc contains an application, the remote storage 58 is disabled by default, and remains disabled unless the application enables it, as described herein. However, if the disc does not contain an application (for example, a high definition movie (HDMV) disc), then the remote storage 58 is enabled by default. In this way, remote storage can be enabled for discs that are not otherwise able to modify the default setting.

An application 76 may also invoke a “disable” API to cause the VFS to disable access to the external device. Further still, multiple disable API functions may be provided, each such disable function causing access to be disabled to certain external device resources.

An application 76 may invoke an “enable” API function that accepts a boolean parameter to signify whether one or more external device resource are to be enabled or disabled. If the value of the boolean parameter is “true,” the target resource(s) are enabled, and if “false” the target resource(s) are disabled. Other embodiments may inverse the interpretation of the boolean parameter.

In some embodiments, the connection between the media player 52 and the external device 56 may not have sufficient performance characteristics (e.g., bandwidth, maximum latency, etc.) to enable files to be streamed directly from the remote storage 58 to the playback control engine 70 without intervening buffers on the media player 52.

In some embodiments, the media player 52 has only a limited amount of local storage 80. Earlier discussion explains what happens when a user desires to download a new file into a system 50 that has no or insufficient local storage for the newly downloaded file. The following discussion pertains to the operation of system 50 when a user loads a disc 74 into the player when one or more files (e.g., clip files, play lists, etc.) have already been downloaded to the system relative to and bound to that particular disc. The operation of the media player 52 in this situation depends on the location of the previously downloaded files (either in the local or remote storage 80, 58), whether the media player 52 even has any local storage and, to the extent the media player has local storage, the available free capacity of such local storage. The following discussion pertains to the previously downloaded files bound to a particular disc. There are other files that are also bound to the disc such as clip files, play lists, etc. Such other files are stored on the disc itself and need not be loaded into local storage 80.

If the previously downloaded files bound to the currently loaded disc are located on local storage 80, such files are accessed from local storage. If, however, the previously downloaded files are located on remote storage 58, then such files may be transferred to the media player's local storage, if present. As described earlier, such transfers may instead occur between playback sessions. If the media player does not have any local storage, or if directed by local storage cache policies in effect, the files are simply accessed from the remote storage 58 as needed. In some embodiments, the media player transfers information (e.g., downloaded files) in its entirety from the remote storage 58 to the local storage 80 and uses such transferred information from the local storage. In other embodiments, the media player uses the information directly from the remote storage without first causing the information to be transferred in its entirety to the media player. The scenario in which the media player has local storage, but the relevant previously downloaded files are located on remote storage 58 will now be described.

In the embodiment in which the files the media player are to use are located on remote storage 58, the playback control engine 70 builds a list of one or more physical file locations that will be used during a playback session at the outset of the session. In this embodiment, the playback control engine 70 issues requests to the VFS prior to the beginning of the session to build a list of the actual physical file locations, and is thereafter able to directly access all physical files to be used during the playback. If an embodiment provides the interfaces to support direct access by the playback control engine 70 to files stored in the remote storage 58, then intermediate buffering of remote files is not performed and the media player accesses the files directly from remote storage 58 without first copying them to local storage 80. However, if player 52 does not provide direct access by the playback control engine 70 to remote storage 58, then one or more of such files to be used which are not already present in local storage 80 are transferred to local storage 80 prior to the commencement of each playback session.

The media player 52 may comprise local storage 80, but the local storage may have insufficient capacity to store additional files associated with a newly loaded disc. For example, subtitle files, trailers, etc. associated with a particular disc may already be loaded into local storage 80 of the media player, but if the user loads a new disc into the player, the local storage may not have enough capacity for the files (currently stored in remote storage 58) associated with the newly loaded disc. This scenario is addressed by the media player 51 being able to use the local storage 80 as temporary storage for the currently loaded disc's downloaded bound files.

In one embodiment, each application 76 comprises the following functionality depicted in FIG. 3. The actions depicted in FIG. 3 are performed when the user loads a disc into player 52 and an application stored on the disc being loaded for execution by the player. Upon execution of application 76, the application ascertains whether previously downloaded files that are bound to the disc can be stored in the local storage 80 of the media player 52. At action 90 of FIG. 3, the application 76 requests the VFS 78 to report the available (i.e., free) capacity of the media player's local storage 80 for storing additional information. The VFS also lists the previously downloaded files, if any, bound to the relevant disc and the size of each such file. The application 76 determines the collective size of the bound files. If the capacity of local storage 80 is sufficient for storing the bound files (decision 92), then control passes to action 94 in which the local storage 80 is used store the files which may be retrieved from the remote storage 58. If, however, the local storage 80 has insufficient available capacity for storing the relevant bound files (perhaps due to local storage already containing files associated with other discs), then application 76 causes the contents of the local storage 80 to remote storage 58 to be altered. Altering the contents comprises an action such as copying some or all of the contents of the local storage 80 to the remote storage 58 in the external device 56 to make room for the new bound files or deleting some or all of the contents of the local storage. In at least one embodiment, the local storage 80 has sufficient capacity for the downloaded bound files associated with only a single disc. Accordingly, the application stored on each disc is responsible for managing the use of the player's local storage to accommodate the downloaded files for that disc. In one embodiment applications are provided with sufficient permissions to be able to delete files in local storage that are associated with other discs (i.e., are not bound to the current disc), thereby enabling the currently executing application to manage local storage. Alternatively, if such permissions are not given, the embodiment automatically deletes at least one unbound file in local storage to service the local storage requests of the currently executing application, relieving applications of the responsibility for managing local storage.

The actions performed by the application in FIG. 3 assume that the VFS of media player is capable of responding to the inquiries from the application as explained above. In other embodiments, the application 76 first ascertains whether the media player is capable of permitting the application to perform the actions such as illustrated in FIG. 3. Any mechanism can be employed to enable the application to ascertain the nature of the VFS 78. For example, a VFS API function can be provided or a reserved bit in a register (readable by the application) can be set to a defined value (e.g., from 0 to 1 or vice versa) to indicate whether the VFS as the functionality described above. If, upon determining the available functionality, the application 76 determines the VFS is not equipped to enable the actions to be performed, the application proceeds without performing one or more actions illustrated in FIG. 3. In this situation, the media player is not coupled to an external device and presumably has sufficient local storage to accommodate all files associated with the discs that have been played on player 52. If application 76, however, determines, by reading the bit, that the VFS is equipped to enable embodiments such as that illustrated in FIG. 3 to be performed, then media player's local storage is used as described above.

In another embodiment, the media player has no local storage 80 and thus the VFS communicates the lack of local storage to the application. In this scenario, the application does not attempt to copy contents of local storage (because there is no local storage) and the application simply defers to the VFS for coordinating access to the previously downloaded files from remote storage 58.

In yet another embodiment, the VFS 78 comprises the functionality described above regarding the use of the local storage 80 as temporary storage. In this embodiment, the VFS 78 receives a request from the application for one or more previously downloaded, bound files associated with the disc loaded into the player. Upon the first such request for that particular disc, the VFS determines the available free space of the local storage, compares that amount of space to the collective size of the downloaded bound files for the current disc, saves contents of the local storage to the external device's storage if necessary and then uses the local storage for the files associated with the current disc. Once the contents are copied to the remote storage 58, that portion of the local storage that contained the copied contents is marked as available to be overwritten.

In another embodiment, the VFS copies current contents of the local storage 80 to make room for new files on an “as-needed” basis. Accordingly, rather than copying all of the contents of the local storage at once to make room for all of the previously downloaded files bound to a newly installed disc, the VFS 78 performs the copying to remote storage of the current local storage contents and retrieving the new file(s) in a piece-meal fashion similar to the operation of some types of cache memory.

In some embodiments, the VFS comprises encryption/decryption logic (EDL) 84 (FIG. 2). In other embodiments, the EDL 84 is provided separate from the VFS. The EDL 84 encrypts downloaded information pertaining to a particular disc and stores the encrypted information on the storage 58 of the external device 56. In a reciprocal action, the VFS retrieves the encrypted information from the storage 58 in response to a request for such information from, for example, an application 76 or playback control engine 78 and the EDL 84 decrypts the encrypted information. The VFS then provides the decrypted information to the request of such information. Any suitable mechanism for encrypting and decrypting can be implemented. For example, any of a variety of public key/private key-based techniques can be employed. The private and public keys are stored in the VFS 78 of the media player. Encrypting the information may be desired to protect the information from unauthorized copying and use. For example, the information may comprise copyrighted subject matter and encrypting such subject matter provides added protection.

As explained above, some discs 74 have an application 76 and other discs may not have an application 76. Those discs that do have the application 76 are able to take advantage of the media player's ability to gain access to the external device's resources (storage, network connectivity). However, a disc that does not have such an application can still be played on media player 52, albeit possibly without the benefit of the external device's resources. A disc without an application benefits from external device resources when played on a media player that supports direct access to remote files by the playback control engine 70, as described previously. In that embodiment, the playback control engine uses remote storage 58 as if it were the local storage 58.

The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. For example, the media player 52 can be connected to a plurality of external devices. In such an embodiment, the media player can use one or more resources (e.g., storage, network connections) of each of the plurality of external devices. Further, information can be downloaded using the external device 56 and loaded onto a portable USB storage device. The USB storage device can then be connected to a USB port on the media player (e.g., interface 82 comprises an externally accessible USB port) and the media player 52 obtains the requested information from the USB storage unit. It is intended that the following claims be interpreted to embrace all such variations and modifications. 

What is claimed is:
 1. A system, comprising: a media player to receive a removable medium, the media player to include logic and to couple to a display and to a device external to the media player, the external device comprising storage; wherein said media player is to cause information to be downloaded onto said external device's storage, said information is to be used by said media player when playing content from said removable medium; wherein, after receiving the removable medium, the logic is to determine whether an update is available on the network for said information; and wherein said logic is to provide access to the information once stored in said external device's storage.
 2. The system of claim 1 wherein said content comprises video and/or audio.
 3. The system of claim 1 wherein said information is encrypted before being stored on said external device's storage.
 4. The system of claim 3 wherein said information is decrypted before being used by said media player.
 5. The system of claim 1 wherein said media player comprises a file system that maps a request for access to a file to a location on said storage of the external device where the file is located.
 6. The system of claim 1 wherein said media player comprises local storage and a file system, said file system copies a first removable medium's information from said local storage to said storage in said external device so that said local storage can be used for information pertaining to a second removable medium.
 7. The system of claim 1 wherein said media player comprises local storage and said removable medium contains an application that runs on said media player, said application to cause information currently stored in said local storage to be copied to said external device's storage to free said local storage to store information pertaining to contents of said removable medium.
 8. The system of claim 1 wherein said external device comprises a network interface and said media player is to cause said external device to download the associated file via said external device's network interface for use by said media player.
 9. An apparatus, comprising: local storage; a playback control engine coupled to said local storage and to play media data from a removable medium loaded into said apparatus; and logic to determine whether available free space on said local storage is sufficient to store information pertaining to a removable medium loaded into said apparatus, and if said available free space is not sufficient, said logic is to cause contents of said local storage to be altered so that said local storage can be used to store said information; and wherein said logic is to access information from a device external to said apparatus on behalf of the playback control engine when playing the media data.
 10. The apparatus of claim 9 wherein said logic comprises an application stored on said removable medium.
 11. The apparatus of claim 9 wherein said logic comprises a file system.
 12. The apparatus of claim 9 further comprising an interface to an external device that has a network connection and wherein the apparatus permits a user of said apparatus to cause information to be downloaded from a network to the external device via the external's device's network connection.
 13. The apparatus of claim 12 further comprising a file system that updates itself when said information is downloaded.
 14. The apparatus of claim 9 wherein said logic alters said contents by deleting at least some of said contents.
 15. The apparatus of claim 9 wherein said logic alters said contents by copying at least some of said contents and designating that portion of said local storage that comprised the copied contents as available to be overwritten.
 16. A storage medium containing software that when executed by an apparatus causes said apparatus to: report whether a device external to said apparatus is connected to said apparatus; report, if said external device is so connected, capacity of remote storage associated with said external device; and bind content from a removable medium inserted into the apparatus to content of at least one of storage of the external device or storage of the apparatus.
 17. The storage medium of claim 16 wherein said software causes said apparatus to enable access to at least one resource provided by the external device.
 18. The storage medium of claim 16 wherein said software causes said apparatus to disable access to at least one resource provided by the external device.
 19. The storage medium of claim 16 wherein said software determines whether local storage in said apparatus has sufficient capacity for storing information pertaining to a media disc.
 20. The storage medium of claim 19 wherein said software copies contents of said local storage to said remote storage if the capacity of the local storage is insufficient. 